import request from './request'

// 获取网站地图
export function getWebsiteMap(){
  return request({
    method: "POST",
    url: '/api/common/get_website',
  });
}

// 获取获取隐私政策&法律声明
export function getProtocol(){
  return request({
    method: "POST",
    url: '/api/common/get_page_config_info',
  });
}

// 提交邮箱
export function submitEmail(data){
  return request({
    method: "POST",
    url: '/api/common/add_sub',
    data
  });
}

// 下拉数据
export function getDownDropList(data){
  return request({
    method: "POST",
    url: '/api/common/get_cate_list',
    data
  });
}

// 获取搜索列表
export function getSearchKeyList(){
  return request({
    method: "POST",
    url: '/api/common/get_search_key_list',
  });
}

// 获取媒体列表
export function getMediaList(){
  return request({
    method: "POST",
    url: '/api/common/get_media_list',
  });
}
